home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / bbsutil / idccom12.zip / EXTERN2.BAT < prev    next >
DOS Batch File  |  1990-06-25  |  424b  |  21 lines

  1.  
  2. echo off
  3. cls
  4. rem  Note that all arguments passed from IDCCOM are in  ASCII text
  5. rem %1 = BPS (300/1200/2400/4800/9600/19200)
  6. rem %2 = COMPORT (1-4)
  7. rem %3 = S or R (send or receive)
  8. rem %4 = download path
  9. rem %5-%9 = wildcard filename(s) to send or receive
  10.  
  11. IF %3==S GOTO SEND
  12.  
  13. rem else receive
  14. \gt\dsz port %2 speed %1 rz %4
  15. GOTO DONE
  16.  
  17. :SEND
  18. \gt\dsz port %2 speed %1 sz %5 %6 %7 %8 %9
  19. GOTO DONE
  20. :DONE
  21.